package data.platform.cassandra.infra.persistence.mapping;

import lombok.*;
import org.springframework.data.cassandra.core.cql.PrimaryKeyType;
import org.springframework.data.cassandra.core.mapping.Column;
import org.springframework.data.cassandra.core.mapping.PrimaryKeyColumn;
import org.springframework.data.cassandra.core.mapping.Table;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "tag")
public class TagEO {

    @PrimaryKeyColumn(name = "tag", ordinal = 0, type = PrimaryKeyType.PARTITIONED)
    private String tag;

    @Column("id")
    private int id;
}
